import {interaction} from "@/package/tools/interaction";

export default {
  name: '按钮',
  icon: '/img/text/button.png',
  type: '按钮',
  cptKey: 'widget-button',
  width: 100,
  height: 35,
  dynamic: true,
  options: {
    interaction,
    cptDataForm: {
      dataText: '{"value":"文字按钮"}',
      dataSource: 1,
      pollTime: 0,
      sql: '',
      dataSourceId: '',
      dataSetId: '', // 数据集id
      dateSetName: '' // 数据集名称
    },
    attribute: {
      title: '按钮',
      color: '#e2ebf1',
      fontSize: 14,
      bgColor: '#1451a7',
      radius: 0,
      borderType: 'solid',
      borderColor: '#2099c5',
      borderWidth: 1
    }
  }
}
